package cn.edu.sptc.sms_chensiyi.service;

import cn.edu.sptc.sms_chensiyi.entity.Major;

import java.util.List;

public interface MajorService {
    //增
    boolean insertMajor(Major major);
    //改
    boolean updateMajor(Major major);
    //删
    boolean deleteMAjor(Long id);
    //查
    List<Major> queryByALl();
    Major queryByID(Long id);
}
